//
//  ListPlayTableViewCell.m
//  艾听歌
//
//  Created by dllo on 16/5/28.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "ListPlayTableViewCell.h"

@implementation ListPlayTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.singerLabel = [[UILabel alloc] init];
//        self.singerLabel.backgroundColor = [UIColor purpleColor];
        [self.contentView addSubview:self.singerLabel];
        
        self.number = [[UILabel alloc] init];

        [self.contentView addSubview:self.number];
        
        self.desLabel = [[UILabel alloc] init];
//        self.desLabel.backgroundColor = [UIColor blueColor];
        [self.contentView addSubview:self.desLabel];
        
        self.image = [[UIImageView alloc] init];
//        self.image.backgroundColor = [UIColor yellowColor];
        [self.contentView addSubview:self.image];
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    self.singerLabel.frame = CGRectMake(60, 10, 200, 30);
    self.desLabel.frame = CGRectMake(60, 45, 200, 30);
    self.number.frame = CGRectMake(15, 25, 30, 30);
    self.image.frame = CGRectMake(0, 0, WIDTH, 200);
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
